<div class="modal fade" id="alert" tabindex="-1" data-backdrop="static">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4 class="modal-title" id="myModalLabel">提示信息</h4>
			</div>
			<div class="modal-body">
			<foreach name="alert" item="v"  key="k">
				<foreach name="v" item="vv"  key="kk">
				<div class="alert alert-{$k}">
					{$vv}
				</div>
				</foreach>	
			</foreach>
			</div>
		</div>
	</div>
</div>
<notempty name="alert">
<script type="text/javascript">
	$('#alert').modal('show');
	var alert_n = setInterval('$("#alert").modal("hide")',1000);
	$('#alert').on('hide.bs.modal', function (e) {
		clearInterval(alert_n);
	});
</script>
</notempty>